package com.nais.mapper;

import com.nais.domain.OrderChangeHistory;
import com.nais.domain.OrderChangeHistoryCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderChangeHistoryMapper {
    long countByExample(OrderChangeHistoryCriteria example);

    int deleteByExample(OrderChangeHistoryCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderChangeHistory record);

    int insertSelective(OrderChangeHistory record);

    List<OrderChangeHistory> selectByExample(OrderChangeHistoryCriteria example);

    OrderChangeHistory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderChangeHistory record, @Param("example") OrderChangeHistoryCriteria example);

    int updateByExample(@Param("record") OrderChangeHistory record, @Param("example") OrderChangeHistoryCriteria example);

    int updateByPrimaryKeySelective(OrderChangeHistory record);

    int updateByPrimaryKey(OrderChangeHistory record);
}